<%--
  Created by IntelliJ IDEA.
  User: G
  Date: 2019/5/13
  Time: 21:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="DTO.LocaldataDTO" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>修改个人信息</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <link rel="stylesheet" type="text/css" href="css/styles.css">
    <style >
        input::-webkit-input-placeholder {
            color: black;
        }
    </style>
</head>
<body>
<jsp:useBean id="user" class="DTO.LocaldataDTO"/>
<%
    LocaldataDTO localdataDTO=(LocaldataDTO)session.getAttribute("localdataDTO");
%>
<jsp:setProperty name="user" property="userid" value="<%=localdataDTO.getUserid() %>"/>
<jsp:setProperty name="user" property="password" value="<%=localdataDTO.getPassword()%>"/>
<jsp:setProperty name="user" property="localname" value="<%=localdataDTO.getLocalname() %>"/>
<jsp:setProperty name="user" property="phone" value="<%=localdataDTO.getPhone() %>"/>
<jsp:setProperty name="user" property="dgutid" value="<%=localdataDTO.getDgutid()%>"/>

<div class="htmleaf-container">
    <div class="wrapper">
        <div class="container">
            <div class="Content-Main" style="margin-top: -90px">
                <h1 style="text-align: center;">修改个人信息</h1>
                <div style="padding-top: 0px;padding-bottom: 0px;">
                    <form method="post" action="/dgrev" style="padding-top: 0px;height: 40px">
                        <button type="submit" class="button" style="position: absolute;left: 245px">完成</button>
                        <div style="float: left;padding-top: 80px"><img src="picture/no.jpg" style="width: 200px;height: 200px;border-radius:200px"></div>
                        <div style="float:right;padding-top:30px">
                            <label>
                                <span>userid:</span>&nbsp;&nbsp;
                                <input type="text"  name="userid" placeholder=${user.userid} >
                            </label>
                            <label>
                                <span>localname:</span>&nbsp;&nbsp;
                                <input type="text"  name="localname" placeholder=${user.localname} >
                            </label>
                            <label>
                                <span>phone:</span>&nbsp;&nbsp;
                                <input type="text"  name="phone" placeholder=${user.phone} >
                            </label>
                            <label>
                                <span>dgutid:</span>&nbsp;&nbsp;
                                <input type="text"  name="dgutid" placeholder=${user.dgutid} >
                            </label>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <ul class="bg-bubbles">
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</div>
</div>
</body>
</html>


